// 接口的继承
{
    var Tank = /** @class */ (function () {
        function Tank() {
            this.name = '敌军';
        }
        Tank.prototype.move = function () {
            console.log('敌方坦克移动');
        };
        Tank.prototype.end = function () {
            console.log('Ending.....');
        };
        return Tank;
    }());
    var Player = /** @class */ (function () {
        function Player() {
            this.name = '友军';
        }
        Player.prototype.move = function () {
            console.log('玩家坦克移动');
        };
        Player.prototype.end = function () {
            console.log('Ending.....');
        };
        Player.prototype.test = function () {
            console.log('接口可以多继承');
        };
        return Player;
    }());
    var tk = new Tank();
    var player = new Player();
    tk.move();
    player.move();
    player.end();
    player.test();
}
